namespace Domain.DTOs.ProcessSteps
{
    /// <summary>
    /// 工艺流程树形结构DTO
    /// </summary>
    public class MakestepTreeDTO
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 工艺工序名称
        /// </summary>
        public string Processname { get; set; }

        /// <summary>
        /// 工艺工序编号
        /// </summary>
        public string Processcode { get; set; }

        /// <summary>
        /// 工艺工序描述
        /// </summary>
        public string Processdescription { get; set; }

        /// <summary>
        /// 工艺工序版本
        /// </summary>
        public string Version { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string Goodsname { get; set; }

        /// <summary>
        /// 产出物
        /// </summary>
        public string Deliverables { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public string Kahuna { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string Departmentname { get; set; }

        /// <summary>
        /// 是否使用
        /// </summary>
        public bool IsUse { get; set; }

        /// <summary>
        /// 工序时长（分钟）
        /// </summary>
        public short SpanTime { get; set; }

        /// <summary>
        /// 设备ID
        /// </summary>
        public long EquipmentId { get; set; }

        /// <summary>
        /// 父级ID
        /// </summary>
        public long Parentid { get; set; }

        /// <summary>
        /// 子级列表（树形结构）
        /// </summary>
        public List<MakestepTreeDTO> Children { get; set; }
    }
}

